package com.heima.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 工单详情，只有补货工单才有
 * </p>
 *
 * @author xjy
 * @since 2024-06-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_task_details")
@ApiModel(value="TbTaskDetails对象", description="工单详情，只有补货工单才有")
public class TaskDetails implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "details_id", type = IdType.AUTO)
    private Long detailsId;

    @ApiModelProperty(value = "工单Id")
    @TableField("task_id")
    private Long taskId;

    @ApiModelProperty(value = "货道编号")
    @TableField("channel_code")
    private String channelCode;

    @ApiModelProperty(value = "补货后期望容量")
    @TableField("expect_capacity")
    private Integer expectCapacity;

    @ApiModelProperty(value = "商品Id")
    @TableField("sku_id")
    private Long skuId;

    @TableField("sku_name")
    private String skuName;

    @TableField("sku_image")
    private String skuImage;


}
